<% title("#{@church.name}") %>

<div class="grid_5">
  <div class="module">
    <h2><span>Church Details</span></h2>
    <div class="module-body">
      <p>
        <b>Name:</b> <%= @church.name %>
      </p>
      <p>
        <b>Address:</b> <%= @church.address %>
      </p>
      <p>
        <b>City:</b> <%= @church.city %>
      </p>
      <p>
        <b>State:</b> <%= @church.state %>
      </p>
      <p>
        <b>Zip code:</b> <%= @church.zip_code %>
      </p>
      <p>
        <b>Phone:</b> <%= @church.phone %>
      </p>
      <p>
        <b>URL:</b> <%= @church.url %>
      </p>
      
      <%= link_to 'Edit', edit_church_path(@church), :class => 'cta cta-yellow' %>
      <%= link_to 'Delete', @church, confirm: 'Are you sure you want to delete this church?', method: :delete, :class => 'cta cta-red', :style => 'margin-left: 10px;' %>
      <%= link_to 'Back', churches_path, :class => 'cta cta-blue', :style => 'margin-left: 10px;' %>
    </div>
  </div>
  <div style="clear:both;"></div>
</div>